﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="YmatouAPI.Test.index" %>
<%@ Register assembly="YmatouAPI.Test" namespace="YmatouAPI.Test" tagprefix="asp" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
   <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form runat="server">
        <h1>洋码头接口Api集中测试页 ：</h1>
        <table class="table table-bordered">
            <thead>
<tr class="success">
    <th>接口请求</th>
    <th>接口响应</th>
</tr>
            </thead>
            <tbody>
                 <tr>

                    <td> 
                         选择服务：
                           <asp:DropDownList ID="txtApiTypes" runat="server" AutoPostBack="true"  OnSelectedIndexChanged="txtApiTypes_SelectedIndexChanged" Height="30px" Width="551px"></asp:DropDownList>
                           <asp:Button ID="btn_update_dll" runat="server" Text="更新服务包"  Width="150px" CssClass="btn btn-primary" OnClick="btn_update_dll_Click"  Visible="false"/>
                    </td>
                     <td>
                         <asp:FileUpload ID="FileUpload6" runat="server" /> </td>
                </tr>
                <tr>

                    <td> 
                         接口服务：
                          <asp:TextBox runat="server" ID="txtServiceUrl" style="height:30px;width:551px;" Text=""></asp:TextBox>
                         <asp:Button ID="Button2" runat="server" Text="调用" OnClick="btn_ok_Click" Width="150px" CssClass="btn btn-primary"/>
                    </td>
                     <td>
                         <asp:FileUpload ID="FileUpload1" runat="server" /> </td>
                </tr>
                <tr>
                    <td> 
                       选择接口：<asp:SmartDropDownList ID="txt_apis" runat="server" AutoPostBack="true" OnSelectedIndexChanged="txt_apis_SelectedIndexChanged"  Width="551px" Height="30px" ></asp:SmartDropDownList>
                       </td>
                      <td> <asp:FileUpload ID="FileUpload2" runat="server" /></td>
                </tr>
                
                <tr>
                    <td>接口地址：<asp:TextBox ID="txt_apiname" runat="server"  Height="30px" Width="551px"></asp:TextBox>
                    </td>
                      <td> <asp:FileUpload ID="FileUpload3" runat="server" /></td>
                </tr>
                  <tr>
                    <td>调用方式：<asp:TextBox ID="txt_httpget" runat="server" Height="30px" Width="551px"></asp:TextBox>
                    </td>
                      <td> <asp:FileUpload ID="FileUpload4" runat="server" /></td>
                </tr>
                 <tr>
                    <td>接口描述：<asp:TextBox ID="txt_api_desc" runat="server" Height="30px" Width="551px"></asp:TextBox>
                    </td>
                      <td><asp:FileUpload ID="FileUpload5" runat="server" /></td>
                </tr>
                  <tr>
                    <td>
                       接口参数：<asp:TextBox ID="txt_request" runat="server" TextMode="MultiLine" Height="499px" Width="683px"></asp:TextBox>
                    </td>
                      <td>
                          接口响应：<asp:TextBox ID="txt_response" runat="server" TextMode="MultiLine" Height="499px" Width="683px"></asp:TextBox>
                      </td>
                </tr>
            </tbody>
            <tfoot>
            </tfoot>
        </table>
        </form>
</body>
</html>
